// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VueRouter from 'vue-router';
import routes from './routes'
import iView from 'iview';
import 'iview/dist/styles/iview.css';
import { Button, Table } from 'iview';;
import '../src/language/index'
import './styles/reset.css'



Vue.config.productionTip = false

Vue.use(VueRouter)
Vue.use(iView);

Vue.component('Button', Button);
Vue.component('Table', Table);



const router = new VueRouter({
  routes
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
